package streamEngine

import (
	"gitee.com/fierce_wolf/go-fox-edge-common/commComp/serialPort"
	"gitee.com/fierce_wolf/go-fox-edge-common/commUtil/Signal"
)

var (
	service *streamEngine
)

func init() {
	service = &streamEngine{}
	service.serialPort = &serialPort.SerialPort{}
	service.serialPort.Signal = Signal.New(1 * 1000)
	service.streamEntity = service.streamEntity.New(64 * 1024)
}

func Initialize() {
	service.initialize()
}
